package com.mercury.console.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.mercury.console.mapper.TbUserMapper;
import com.mercury.console.model.entity.TbUser;
import com.mercury.console.service.ITbUserService;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author mercury
 * @since 2021-05-12
 */
@Service
public class TbUserServiceImpl extends ServiceImpl<TbUserMapper, TbUser> implements ITbUserService {


    @Override
    public void saveUser() {
        TbUser tbUser = new TbUser();
        tbUser.setName("mercury");
        this.save(tbUser);
    }
}
